<%--
  Created by IntelliJ IDEA.
  User: Lu
  Date: 2019/10/7
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
查看简历：<a href="${pageContext.request.contextPath}/resume/in/3003">查看简历</a><br>
查看一个公司的所有招聘：<a href=" ${pageContext.request.contextPath}/recruit/7001" >一个公司的所有招聘</a><br>
查看简历模板：<a href="${pageContext.request.contextPath}/resume/all/3001">查看模板</a><br>
查看招聘信息：<a href="${pageContext.request.contextPath}/search/recruit/7001">查看招聘信息</a>
dwhduiwhd<a href="${pageContext.request.contextPath}/myApplication">dwdw </a>
<script type="text/javascript" src="http://echarts.baidu.com/gallery/vendors/echarts/echarts.min.js"></script>
<script type="text/javascript">
    var dom = document.getElementById("container");
    var myChart = echarts.init(dom);
    var app = {};

    app.title = '环形图';

    var option = {
        tooltip: {
            trigger: 'item',
            formatter: "{a} <br/>{b}: {c} ({d}%)"
        },
        color:['#93D8A9','#FFB99D','#AF7DCC','#FFD83D','#bbe2e8'],
        legend: {
            orient: 'horizontal',
            x: 'left',
            data: ['国企', '上市公司', '合资', '民营公司', '外资']
        },
        series: [{
            name: '访问来源',
            type: 'pie',
            radius: ['0%', '40%'],
            avoidLabelOverlap: false,
            label: {
                normal: {
                    show: false,
                    position: 'center'
                },
                emphasis: {
                    show: true,
                    textStyle: {
                        fontSize: '30',
                        fontWeight: 'bold'
                    }
                }
            },
            labelLine: {
                normal: {
                    show: false
                }
            },
            data: [{
                value: 335,
                name: '国企'
            },
                {
                    value: 310,
                    name: '上市公司'
                },
                {
                    value: 234,
                    name: '合资'
                },
                {
                    value: 135,
                    name: '民营公司'
                },
                {
                    value: 1548,
                    name: '外资'
                }
            ]
        }]
    };
    if(option && typeof option === "object") {
        myChart.setOption(option, true);
    }
</script>
</body>
</html>
